package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * 市场活动--推广任务表
 * @author jinxiaozhang
 *
 */
public class Task implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 9140095146036934391L;
	private String id;
	private Marketing marketing;
	private PersonEmailTemplate personEmailTemplate;
	private Integer type;
	private Timestamp theTime;
	private Person person;
	private String csvPath;
	private String tagIds;
	private String campaignId;
	private Timestamp createdStamp;
	private Sender sender;//模板发件人
	private String name;//模板名称
	private String content;//模板内容
	private String title;//模板类型
	private String email;//回复邮件地址
	private String links;//邮件链接ID
	private String jobId;//jobId
	private String status;
	private Integer mailId;
	
	private Set<TaskTargetRel> taskTargetRels = new HashSet<TaskTargetRel>(0);
	private Set<LinkClicks> linkClicks = new HashSet<LinkClicks>(0);
	private Set<Responses> responsess = new HashSet<Responses>(0);
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Marketing getMarketing() {
		return marketing;
	}
	public void setMarketing(Marketing marketing) {
		this.marketing = marketing;
	}
	public PersonEmailTemplate getPersonEmailTemplate() {
		return personEmailTemplate;
	}
	public void setPersonEmailTemplate(PersonEmailTemplate personEmailTemplate) {
		this.personEmailTemplate = personEmailTemplate;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Timestamp getTheTime() {
		return theTime;
	}
	public void setTheTime(Timestamp theTime) {
		this.theTime = theTime;
	}
	public Person getPerson() {
		return person;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
	public String getCsvPath() {
		return csvPath;
	}
	public void setCsvPath(String csvPath) {
		this.csvPath = csvPath;
	}
	public String getTagIds() {
		return tagIds;
	}
	public void setTagIds(String tagIds) {
		this.tagIds = tagIds;
	}
	public String getCampaignId() {
		return campaignId;
	}
	public void setCampaignId(String campaignId) {
		this.campaignId = campaignId;
	}
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	public Sender getSender() {
		return sender;
	}
	public void setSender(Sender sender) {
		this.sender = sender;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getLinks() {
		return links;
	}
	public void setLinks(String links) {
		this.links = links;
	}
	public Set<TaskTargetRel> getTaskTargetRels() {
		return taskTargetRels;
	}
	public void setTaskTargetRels(Set<TaskTargetRel> taskTargetRels) {
		this.taskTargetRels = taskTargetRels;
	}
	public Set<LinkClicks> getLinkClicks() {
		return linkClicks;
	}
	public void setLinkClicks(Set<LinkClicks> linkClicks) {
		this.linkClicks = linkClicks;
	}
	public String getJobId() {
		return jobId;
	}
	public void setJobId(String jobId) {
		this.jobId = jobId;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Set<Responses> getResponsess() {
		return responsess;
	}
	public void setResponsess(Set<Responses> responsess) {
		this.responsess = responsess;
	}
	public Integer getMailId() {
		return mailId;
	}
	public void setMailId(Integer mailId) {
		this.mailId = mailId;
	}
	
	
}
